from pymouse import *
import time
import random

m = PyMouse()
x = 0
y = 0
t = 6

while 1 == 1:
    x = random.randint(-1, 1929)
    y = random.randint(-1, 1085)
    time.sleep(t)
    m.click(x, y, 2, 1)
    print("x = {}, y = {}, t = {}".format(x, y, t))
    t = random.randint(4, 10)
